<div class="body-cont">
  <div class="col-9 row">
        <div class="mod">
        <div class="mod-bread"><a href="#">Trang chủ </a> > <a href="#">Dịch vụ</a> > <a href="#">Dịch vụ của người dùng</a></div>
        <div class="pro-tit line-dot" style="height: 70px;">
            	<h1> Dịch vụ của : <?php echo User::getName($_GET['id']);?>
                    <b class="social-top">
                    </b>   
                </h1>
            </div>
            
        <div class="mod">
            <div class="mod-tit"><a href="#">Dịch vụ của người dùng</a></div>
                <div class=" mod-cont">
                    <div class="table">
                        <table cellpadding="3" cellspacing="3" border="0" width="100%">
                        <tr>
                        <th width="20%">Avata</th>
                        <th width="40%">Dịch vụ</th>
                        <th width="10%">Giá</th>
                        <th width="15%">Người tạo</th>
                        <th  width="15%">Đặt hàng</th>
                    </tr>
                    <table>
                    </div>
                    
                    
                 <?php foreach ($model as $row) :?>
                <div class="table">
                  <!--div class="tag-new"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/new.png" /></div-->
                  <table cellpadding="3" cellspacing="3" border="0" width="100%">
                  <tr>
                    <td width="20%"><a href="index.php?r=service/create/view&id=<?php echo $row->id; ?>"><?php echo Services::getAvataMin($row->id);?></a></td>
                    <td width="40%">
                        <a href="index.php?r=service/create/view&id=<?php echo $row->id; ?>"> 
                            <?php echo $row->name?>
                        </a>
                         <p><?php
                                echo Services::CutString($row->description,200) . " ......";
                            ?></p>
                    
                    </td>
                    <td width="10%" align="center"><?php echo CHtml::encode($row->money); ?>$</td>
                    <td width="15%" align="center"> <a href="http://#"><?php echo User::getName($row->user_id); ?></a></td>
                    <td width="15%" align="center">
                        <?php echo CHtml::link('Đặt hàng',array('/service/create/view','id'=>$row->id));?>
                    
                    </td>
                  </tr>
                </table>
            	</div>
                <?php endforeach;
                $this->widget('CLinkPager', array(
                    'pages' => $pages,
                ));
                ?>
                   
            </div>
        </div>
        
  </div>
  </div>
</div>
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                
         
 